package com.mallcai.bigdata.ladon.service.peekdata.impl;

import com.mallcai.bigdata.ladon.dpl.entity.peekdata.ModelMeta;
import com.mallcai.bigdata.ladon.dpl.mapper.peekdata.ModelMetaMapper;
import com.mallcai.bigdata.ladon.service.peekdata.IModelMetaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;

/**
 * @author feixy
 * @version 1.0
 * @date 2019-07-03 16:13
 */
@Service
public class ModelMetaService implements IModelMetaService {

    @Autowired
    private ModelMetaMapper modelMetaMapper;

    @Override
    public ModelMeta getById(Long modelMetaId) {
        return modelMetaMapper.getById(modelMetaId);
    }

    @Override
    public List<ModelMeta> getByIds(Collection<Long> modelMetaIds) {
        return modelMetaMapper.getByIds(modelMetaIds);
    }
}
